package com.caochenlei.strategy;

public class Client {
    public static void main(String[] args) {
        Context c = new Context();

        c.setStrategy(new ConcreteStrategyA());
        c.strategyMethod();

        c.setStrategy(new ConcreteStrategyB());
        c.strategyMethod();
    }
}
